package model

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ SmsSeckillPromotionModel = (*customSmsSeckillPromotionModel)(nil)

type (
	// SmsSeckillPromotionModel is an interface to be customized, add more methods here,
	// and implement the added methods in customSmsSeckillPromotionModel.
	SmsSeckillPromotionModel interface {
		smsSeckillPromotionModel
	}

	customSmsSeckillPromotionModel struct {
		*defaultSmsSeckillPromotionModel
	}
)

// NewSmsSeckillPromotionModel returns a model for the database table.
func NewSmsSeckillPromotionModel(conn sqlx.SqlConn) SmsSeckillPromotionModel {
	return &customSmsSeckillPromotionModel{
		defaultSmsSeckillPromotionModel: newSmsSeckillPromotionModel(conn),
	}
}
